const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var ProductsSchema = new mongoose.Schema({
    name : String,
    desc : String,
    price: String,
    cateId : mongoose.Schema.ObjectId
});

ProductsSchema.plugin(mongoosePaginate);
module.exports = mongoose.model('Products',ProductsSchema);